import request from '@/utils/request'

export function getListAPI(params) {
  return request({
    url: 'api/dullMaintenanceConfig/queryDull',
    method: 'get',
    params
  })
}

// 下载
export function downloadFileAPI(data) {
  return request({
    url: `api/dullMaintenanceConfig/exportDull?ruleType=${data}`,
    method: 'get',
    data,
    responseType: 'blob'
  })
}
